package com.yqz.sys.form;

import com.yqz.common.base.Form;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

public class CompDepartForm extends Form {

    private Integer id;

    @NotEmpty(message = "部门名称不可为空")
    @Length(max = 25,message = "部门名称不可超过25个字符")
    private String deptName;

    private Integer compId;

    private Integer flag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getCompId() {
        return compId;
    }

    public void setCompId(Integer compId) {
        this.compId = compId;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }
}


